package com.lune.blog.auth.config;


import cn.dev33.satoken.jwt.StpLogicJwtForStyle;
import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yanjizhw@163.com
 * @date 2021/11/8 21:15
 * 描述: Sa-Token 整合 jwt (Style模式)
 * @since 1.0.0
 */
@Configuration
public class SaTokenJwtConfigure {

    @Bean
    public StpLogic getStpLogicJwt() {
        return new StpLogicJwtForStyle();
    }
}
